home *** CD-ROM | disk | FTP | other *** search
Text File | 1988-12-31 | 1.6 KB | 43 lines | [TEXT/MPS ] |
- INSTRUCTIONS
- ============
-
- (These instructions mimic the steps I performed to create the
- contents of the Example ƒ folder. Note that even though I used
- 3 different Rez (abc.r) files, they could have just as easily
- been combined into one file).
-
- • Execute Glue, and create a Glue.r file (with your icon information).
- Note that for this example, I used 'GLUE' for the "Creator"; you
- should use a 4-character ID of your own. See the MacPaint hot print
- for more. (You can also use the Glue.r on this disk as an example).
-
- • Select "Create Build Commands" from the MPW menu, and create a
- make file. The order of the 3 resource files dosen't matter -
- but the order of the Pascal files do. The dependencies I used
- were:
-
- Sample.r -> Glue.r -> Pegasus.r -> Pegasus.p -> Sample.p
-
-
- • Execute the Make file, and compile the program.
-
- • BEFORE you run the program, execute ResEdit (a utility that you
- should own as a Mac programmer - I got mine from being a registered
- user of LightspeedC). DiskTop or any simular utility should also
- do the trick...
-
- • Change the Creator of your application to what you used (i.e. 'GLUE').
- Turn the Bundle Bit ON, turn the Inited bit OFF. See the manual for
- more.
-
- • Now exit ResEdit and execute your program.
-
- • Your application should now have custom icons assigned to it.
-
- • You might notice that when you "hold down" with the mouse on these
- icons, the icon region becomes invisible. That's because I didn't
- create a mask for these icons (com'on, I can't do everything!).
- Refer to Inside Macintosh for more on icon masking.
-
- Joe Pillera
- January 1989